<div class="widget">
    <div class="widget_title">
        <span class="iconsweet">J</span>
        <h5><?= $this->title;?></h5>
    </div>

    <div class="widget_body">
        <ul class="form_fields_container">
            <? if (!Zend_Auth::getInstance()->hasIdentity()) : ?>
            <form method="POST" name="<?= $this->form->getName();?>">
                <ul class="form_fields_container">
                    <li><label> <?=$this->form->user_login->getLabel();?></label> <div class="form_input"> <?= $this->form->user_login;?> </div> </li>
                    <li><label> <?=$this->form->user_name->getLabel();?></label> <div class="form_input"> <?= $this->form->user_name;?> </div> </li>
                    <li><label> <?=$this->form->user_surname->getLabel();?></label> <div class="form_input"> <?= $this->form->user_surname;?> </div> </li>
                    <li><label> <?=$this->form->user_from->getLabel();?></label> <div class="form_input"> <?= $this->form->user_from;?> </div> </li>
                    <li><label> <?=$this->form->user_password->getLabel();?></label> <div class="form_input"> <?= $this->form->user_password;?> </div> </li>
                    <li><label> <?=$this->form->password_confirm->getLabel();?></label> <div class="form_input"> <?= $this->form->password_confirm;?> </div> </li>
                    <li><label> <?=$this->form->user_email->getLabel();?></label> <div class="form_input"> <?= $this->form->user_email;?> </div> </li>
                    <li align="center"><?=$this->form->submit;?></li>
                </ul>
            </form>
            <?else: ?>
                <p> Вы уже залогинены, из-за этого вы не можете пройти регистрацию ... </p>
            <? endif ?>
        </ul>
    </div>
</div>